import { httpPost, httpGet } from '@/utils/http'


export function getOrderList(params) {
  console.log('api/order -> getOrderList =>'+JSON.stringify(params))
  return httpGet({
    url: '/pc/order/list',
    params
  })
}

/**
 * 当天统计
 */
export const statToday = (params = {}) => httpGet({url: '/order/statistics/today', params})

/**
 * 最近30天
 */
export const statLast30 = (params = {}) => httpGet({url: '/pc/order/statistics/last30', params})
